package com.zoe.vhr.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/07/27
 * @Description 放行白名单URL
 */
@Component
@ConfigurationProperties(prefix = "ignore")
public class IgnoreUrl {
    List<String> urls;

    public List<String> getUrls() {
        return urls;
    }

    public void setUrls(List<String> urls) {
        this.urls = urls;
    }

    @Override
    public String toString() {
        return "IgnoreUrl{" +
            "urls=" + urls +
            '}';
    }
}
